package ch07_GUI编程;

import javax.swing.JFrame;

public class BaseFrame extends JFrame {
	public BaseFrame(String title) {
		super.setLayout(null);
		super.setTitle(title);
		super.setSize(400, 300);
		super.setLocationRelativeTo(null);
		super.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}

	public void showMe() {
		super.setVisible(true);

	}
}